HipLineInfo

A text information that is returned from the word wrap range. Beyond the information with line and width, it also has a cache. This cache is used for optimization in both kerning and associative array lookup. This can make a big difference by having a single lookup instead of 2. The lookup is the slowest part of text rendering, which makes this a lot faster.

Members

Variables

fontCharCache
const(HipFontChar)*[512] fontCharCache;
Undocumented in source.
kerningCache
int[512] kerningCache;
Undocumented in source.
line
dstring line;
Undocumented in source.
width
int width;
Undocumented in source.

Meta